package com.zboot.zbootadmin.project.base.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author draw
 * @since 2021-05-08
 */
@Data
@ApiModel(value="Supplier对象", description="")
public class Supplier implements Serializable {

    private static final long serialVersionUID=1L;

    private String owner;

    private String code;

    private String name;

    private String address;

    private String contact;

    private String phone;

    private String bankName;

    private String accountBankName;

    private String bankAccountNo;

    private String createdBy;


    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate =new Date();

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastModifedDate=createDate;

    private String currentState;

    private String stateChangeDetails;


}
